package com.xiongwei.myspringbootproject.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author XiongWei
 * @date 2021/9/23
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Table(name = "brand")
public class Brand {

    @Id
    private Long id;

    @Column(name = "brand_chinese")
    private String brandChinese;

    @Column(name = "brand_english")
    private String brandEnglish;

    @Column(name = "brand")
    private String brand;

}
